#!/usr/bin/gnuplot -persist
set size 1.0, 0.6
set terminal postscript portrait enhanced mono dashed lw 1 "Helvetica" 14 
set output 'graph.ps'
set title "search - 10 keys"
set xlabel "# records"
set ylabel "time (ms)"
set yrange [0:20]

plot	"10chaves.mysql2.txt" using 1:2 with lines title "mysql - 0 indices", \
		"10chaves.mysql2.txt" using 1:4 with lines title "mysql - 1 indices", \
		"10chaves.mysql2.txt" using 1:6 with lines title "mysql - 2 indices", \
		"10chaves.mysql2.txt" using 1:8 with lines title "mysql - 4 indices", \
		"10chaves.mysql2.txt" using 1:10 with lines title "mysql - 6 indices", \
		"10chaves.mysql2.txt" using 1:12 with lines title "mysql - 8 indices", \
		"10chaves.mysql2.txt" using 1:14 with lines title "mysql - 10 indices", \
		"10chaves.kdbtree2.txt" using 1:2 with lines title "kdbtree"
